package top.songxs.gmall.feign.item.fallback;

import lombok.extern.slf4j.Slf4j;
import top.songxs.gmall.common.result.Result;
import top.songxs.gmall.common.result.ResultCodeEnum;
import top.songxs.gmall.feign.item.SkuDetailFeignClient;
import top.songxs.gmall.product.vo.SkuDetailVo;
@Slf4j
public class SkuDetailFeignClientFallback implements SkuDetailFeignClient {
    @Override
    public Result<SkuDetailVo> getSkuDetailList(Long skuId) {
        log.error("getSkuDetailList 兜底方案执行了");
        return Result.build(null, ResultCodeEnum.SUCCESS);
    }

    @Override
    public Result updateHotScore(Long goodsId, Integer hotScore) {
        log.error("updateHotScore 兜底方案执行了");
        return Result.build(null, ResultCodeEnum.SUCCESS);
    }
}
